package com.equdao.car_violation_inquiry.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Author: 杨忠强
 * @Date: 2018/6/4 13:44
 * @Description:
 */
@Data
public class ChannelManageDO {
    @JsonIgnore
    private Integer id;
    private String channelName;
    private String channelCode;
    private Integer totalNumber;
    private Integer remainNumber;
    private Integer status;

    //没有内容不反回该字段
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String supplier;
    private BigDecimal remainMoney;
    private BigDecimal sumMoney;
    @JsonIgnore
    private String token;

    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss" ,locale = "zh" , timezone = "GMT+8")
    private String createTime;
}
